home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Enter 1999 April / enter_04_1999_1.iso / narzedzia / klub 3d / 3dnow! demo / 3dnow.exe / X_FILE / 109 < prev    next >
Text File  |  1999-01-28  |  6KB  |  325 lines

  1. xof 0302txt 0064
  2. // LWS2X generated file 
  3. // (LWS2X (C)1996,1997 A.Koizuka/Bio_100%  mail:koizuka@ss.iij4u.or.jp )
  4. // http://www.ss.iij4u.or.jp/~koizuka/
  5.  
  6. template Header {
  7.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  8.  WORD major;
  9.  WORD minor;
  10.  DWORD flags;
  11. }
  12.  
  13. template Vector {
  14.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  15.  FLOAT x;
  16.  FLOAT y;
  17.  FLOAT z;
  18. }
  19.  
  20. template Coords2d {
  21.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  22.  FLOAT u;
  23.  FLOAT v;
  24. }
  25.  
  26. template Matrix4x4 {
  27.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  28.  array FLOAT matrix[16];
  29. }
  30.  
  31. template ColorRGBA {
  32.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  33.  FLOAT red;
  34.  FLOAT green;
  35.  FLOAT blue;
  36.  FLOAT alpha;
  37. }
  38.  
  39. template ColorRGB {
  40.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  41.  FLOAT red;
  42.  FLOAT green;
  43.  FLOAT blue;
  44. }
  45.  
  46. template IndexedColor {
  47.  <1630B820-7842-11cf-8F52-0040333594A3>
  48.  DWORD index;
  49.  ColorRGBA indexColor;
  50. }
  51.  
  52. template Boolean {
  53.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  54.  WORD truefalse;
  55. }
  56.  
  57. template Boolean2d {
  58.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  59.  Boolean u;
  60.  Boolean v;
  61. }
  62.  
  63. template MaterialWrap {
  64.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  65.  Boolean u;
  66.  Boolean v;
  67. }
  68.  
  69. template TextureFilename {
  70.  <A42790E1-7810-11cf-8F52-0040333594A3>
  71.  STRING filename;
  72. }
  73.  
  74. template Material {
  75.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  76.  ColorRGBA faceColor;
  77.  FLOAT power;
  78.  ColorRGB specularColor;
  79.  ColorRGB emissiveColor;
  80.  [...]
  81. }
  82.  
  83. template MeshFace {
  84.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  85.  DWORD nFaceVertexIndices;
  86.  array DWORD faceVertexIndices[nFaceVertexIndices];
  87. }
  88.  
  89. template MeshFaceWraps {
  90.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  91.  DWORD nFaceWrapValues;
  92.  Boolean2d faceWrapValues;
  93. }
  94.  
  95. template MeshTextureCoords {
  96.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  97.  DWORD nTextureCoords;
  98.  array Coords2d textureCoords[nTextureCoords];
  99. }
  100.  
  101. template MeshMaterialList {
  102.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  103.  DWORD nMaterials;
  104.  DWORD nFaceIndexes;
  105.  array DWORD faceIndexes[nFaceIndexes];
  106.  [Material]
  107. }
  108.  
  109. template MeshNormals {
  110.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  111.  DWORD nNormals;
  112.  array Vector normals[nNormals];
  113.  DWORD nFaceNormals;
  114.  array MeshFace faceNormals[nFaceNormals];
  115. }
  116.  
  117. template MeshVertexColors {
  118.  <1630B821-7842-11cf-8F52-0040333594A3>
  119.  DWORD nVertexColors;
  120.  array IndexedColor vertexColors[nVertexColors];
  121. }
  122.  
  123. template Mesh {
  124.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  125.  DWORD nVertices;
  126.  array Vector vertices[nVertices];
  127.  DWORD nFaces;
  128.  array MeshFace faces[nFaces];
  129.  [...]
  130. }
  131.  
  132. Header {
  133.  1;
  134.  0;
  135.  1;
  136. }
  137.  
  138. Material MatC6 {
  139.  1.000000;1.000000;1.000000;1.000000;;
  140.  21.333333;
  141.  0.000000;0.000000;0.000000;;
  142.  0.000000;0.000000;0.000000;;
  143.  TextureFilename {
  144.   "TEXmoon.BMP";
  145.  }
  146. }
  147. Mesh {
  148.  25;
  149.  0.000000;0.202318;0.529676;,
  150.  0.000000;-0.202318;0.529676;,
  151.  0.000000;-0.202318;-0.529676;,
  152.  0.000000;0.202318;-0.529676;,
  153.  0.529676;0.000000;0.202318;,
  154.  -0.529676;0.000000;0.202318;,
  155.  -0.529676;0.000000;-0.202318;,
  156.  0.529676;0.000000;-0.202318;,
  157.  0.202318;0.529676;0.000000;,
  158.  -0.202318;0.529676;0.000000;,
  159.  -0.202318;-0.529676;0.000000;,
  160.  0.202318;-0.529676;0.000000;,
  161.  0.327358;0.327358;0.327358;,
  162.  -0.327358;0.327358;0.327358;,
  163.  -0.327358;-0.327358;0.327358;,
  164.  0.327358;-0.327358;0.327358;,
  165.  0.327358;-0.327358;-0.327358;,
  166.  0.327358;0.327358;-0.327358;,
  167.  -0.327358;0.327358;-0.327358;,
  168.  -0.327358;-0.327358;-0.327358;,
  169.  -0.202318;0.529676;0.000000;,
  170.  -0.202318;-0.529676;0.000000;,
  171.  -0.529676;0.000000;0.202318;,
  172.  -0.327358;0.327358;0.327358;,
  173.  -0.327358;-0.327358;0.327358;;
  174.  
  175.  36;
  176.  3;1,15,4;,
  177.  3;0,1,4;,
  178.  3;0,4,12;,
  179.  3;0,12,8;,
  180.  3;0,8,9;,
  181.  3;0,20,13;,
  182.  3;0,13,5;,
  183.  3;1,0,5;,
  184.  3;5,14,1;,
  185.  3;1,14,10;,
  186.  3;1,21,11;,
  187.  3;1,11,15;,
  188.  3;3,17,7;,
  189.  3;2,3,7;,
  190.  3;2,7,16;,
  191.  3;2,16,11;,
  192.  3;2,11,21;,
  193.  3;2,21,19;,
  194.  3;2,19,6;,
  195.  3;3,2,6;,
  196.  3;6,18,3;,
  197.  3;3,18,9;,
  198.  3;3,9,8;,
  199.  3;3,8,17;,
  200.  3;4,15,11;,
  201.  3;7,4,11;,
  202.  3;11,16,7;,
  203.  3;7,17,8;,
  204.  3;4,7,8;,
  205.  3;4,8,12;,
  206.  3;22,23,9;,
  207.  3;6,22,9;,
  208.  3;9,18,6;,
  209.  3;6,19,21;,
  210.  3;22,6,21;,
  211.  3;22,21,24;;
  212.  
  213.  MeshMaterialList {
  214.   1;
  215.   1;
  216.   0;;
  217.   {MatC6}
  218.  }
  219.  MeshNormals {
  220.   36;
  221.   0.525731;-0.000000;0.850651;,
  222.   0.525731;0.000000;0.850651;,
  223.   0.525731;0.000000;0.850651;,
  224.   0.000000;0.850651;0.525731;,
  225.   0.000000;0.850651;0.525731;,
  226.   -0.000000;0.850651;0.525731;,
  227.   -0.525731;0.000000;0.850651;,
  228.   -0.525731;0.000000;0.850651;,
  229.   -0.525731;-0.000000;0.850651;,
  230.   -0.000000;-0.850651;0.525731;,
  231.   0.000000;-0.850651;0.525731;,
  232.   0.000000;-0.850651;0.525731;,
  233.   0.525731;0.000000;-0.850651;,
  234.   0.525731;0.000000;-0.850651;,
  235.   0.525731;-0.000000;-0.850651;,
  236.   0.000000;-0.850651;-0.525731;,
  237.   0.000000;-0.850651;-0.525731;,
  238.   -0.000000;-0.850651;-0.525731;,
  239.   -0.525731;-0.000000;-0.850651;,
  240.   -0.525731;0.000000;-0.850651;,
  241.   -0.525731;0.000000;-0.850651;,
  242.   -0.000000;0.850651;-0.525731;,
  243.   0.000000;0.850651;-0.525731;,
  244.   0.000000;0.850651;-0.525731;,
  245.   0.850651;-0.525731;0.000000;,
  246.   0.850651;-0.525731;0.000000;,
  247.   0.850651;-0.525731;-0.000000;,
  248.   0.850651;0.525731;-0.000000;,
  249.   0.850651;0.525731;0.000000;,
  250.   0.850651;0.525731;0.000000;,
  251.   -0.850651;0.525731;0.000000;,
  252.   -0.850651;0.525731;0.000000;,
  253.   -0.850651;0.525731;-0.000000;,
  254.   -0.850651;-0.525731;-0.000000;,
  255.   -0.850651;-0.525731;0.000000;,
  256.   -0.850651;-0.525731;0.000000;;
  257.  
  258.   36;
  259.   3;0,0,0;,
  260.   3;1,1,1;,
  261.   3;2,2,2;,
  262.   3;3,3,3;,
  263.   3;4,4,4;,
  264.   3;5,5,5;,
  265.   3;6,6,6;,
  266.   3;7,7,7;,
  267.   3;8,8,8;,
  268.   3;9,9,9;,
  269.   3;10,10,10;,
  270.   3;11,11,11;,
  271.   3;12,12,12;,
  272.   3;13,13,13;,
  273.   3;14,14,14;,
  274.   3;15,15,15;,
  275.   3;16,16,16;,
  276.   3;17,17,17;,
  277.   3;18,18,18;,
  278.   3;19,19,19;,
  279.   3;20,20,20;,
  280.   3;21,21,21;,
  281.   3;22,22,22;,
  282.   3;23,23,23;,
  283.   3;24,24,24;,
  284.   3;25,25,25;,
  285.   3;26,26,26;,
  286.   3;27,27,27;,
  287.   3;28,28,28;,
  288.   3;29,29,29;,
  289.   3;30,30,30;,
  290.   3;31,31,31;,
  291.   3;32,32,32;,
  292.   3;33,33,33;,
  293.   3;34,34,34;,
  294.   3;35,35,35;;
  295.  }
  296.  MeshTextureCoords {
  297.   25;
  298.   1.000000;0.383860;
  299.   1.000000;0.616140;
  300.   0.500000;0.616140;
  301.   0.500000;0.383860;
  302.   0.808070;0.500000;
  303.   1.191930;0.500000;
  304.   0.308070;0.500000;
  305.   0.691930;0.500000;
  306.   0.750000;0.116140;
  307.   0.250000;0.116140;
  308.   1.250000;0.883860;
  309.   0.750000;0.883860;
  310.   0.875000;0.304087;
  311.   1.125000;0.304087;
  312.   1.125000;0.695913;
  313.   0.875000;0.695913;
  314.   0.625000;0.695913;
  315.   0.625000;0.304087;
  316.   0.375000;0.304087;
  317.   0.375000;0.695913;
  318.   1.250000;0.116140;
  319.   0.250000;0.883860;
  320.   0.191930;0.500000;
  321.   0.125000;0.304087;
  322.   0.125000;0.695913;;
  323.  }
  324. }
  325.